-- GENERATED SPELL FOR [Ironjaw Basilisk] --


function spell0_1551(pUnit, Event) --@Crystal Flash,n/a--
pUnit:FullCastSpellOnTarget(5106,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1551', 17000, 1)
end

function Sorts_1551(pUnit, Event)
local choix_sorts_1551 = math.random(0, 0)
if choix_sorts_1551 == 0 then
pUnit:RegisterEvent('spell0_1551', 1, 1)
end
end

function mob1551_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1551', math.random(1500, 3000), 1)
end

function mob1551_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1551_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1551_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1551, 1, 'mob1551_Action')
RegisterUnitEvent(1551, 2, 'mob1551_Leave')
RegisterUnitEvent(1551, 3, 'mob1551_Kill')
RegisterUnitEvent(1551, 4, 'mob1551_Die')
